package com.guan.ordering_sys.generator.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 关远键
 * @since 2021-06-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="DirectoryManagement对象", description="")
public class DirectoryManagement implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "directory_management_id", type = IdType.AUTO)
    private Integer directoryManagementId;

    @ApiModelProperty(value = "目录名称")
    private String directoryManagementName;

    @ApiModelProperty(value = "目录路径")
    private String directoryManagementUrl;

    @ApiModelProperty(value = "权限编码")
    private String directoryManagementPermisson;

    @ApiModelProperty(value = "菜单类型")
    private String directoryManagementType;

    @ApiModelProperty(value = "可用状态(1 可以 0 不可用)")
    private Integer directoryManagementState;

    @ApiModelProperty(value = "排序")
    private Integer directoryManagementSort;

    @ApiModelProperty(value = "是否为父目录（-1则是父目录  否则为父目录id）")
    private Integer directoryManagementParent;


}
